﻿using SharpErp.Data.Common.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SharpErp.UI.BasicData.Business
{
    public class CustomerSecondClassConverter
    {
        public static int START_PARENT_ID = 100000000;

        public static CustomerSecondClass convertToCustomerSecondClass(ProductionNineClass item)
        {
            return new CustomerSecondClass {
                ParentId = START_PARENT_ID + 1,
                Id = item.Id
            };
        }
    }
}
